(meta-indent-calculate-last): Remove.
authorMichaël Cadilhac <michael.cadilhac@lrde.org>
Fri, 17 Aug 2007 22:51:12 +0000 (22:51 +0000)
committerMichaël Cadilhac <michael.cadilhac@lrde.org>
Fri, 17 Aug 2007 22:51:12 +0000 (22:51 +0000)
commita634645aea21518c43c2f975f99307a6b7ee8bad
tree054c16dd37eaba3591cd8196af993b9fba0f13cf
parent97350859ac9e2896e09ebead8019d192d7269255
(meta-indent-calculate-last): Remove.
(meta-indent-current-nesting): Use a computation of the nesting instead.
(meta-indent-current-indentation): Indentation is given according to
nesting and if the previous line was finished or not.
(meta-indent-unfinished-line): Tell if the current line ends with a
finished expression.
(meta-indent-looking-at-code): Like `looking-at', but checks if the
point is a string before.
(meta-indent-level-count): Use it.  Don't count parenthesis as it's
done in the nesting function.
(meta-indent-in-string-p): Tell if the current point is in a string.
(meta-indent-calculate): Treat b-o-b as a special case.  Use the
previous functions.
lisp/progmodes/meta-mode.el